package com.zs.games.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("game_info")
@ApiModel(description = "游戏信息")
@Data
public class GameInfo {

    @ApiModelProperty(value = "游戏ID")
    @TableId(value = "game_id", type = IdType.AUTO)
    private Integer gameId;

    @ApiModelProperty(value = "游戏 logo")
    private String gameLogo;

    @ApiModelProperty(value = "游戏 简介")
    private String gameInfo;

    @ApiModelProperty(value = "游戏名称")
    private String gameName;

    @ApiModelProperty(value = "游戏类型")
    private String gameType;

    @ApiModelProperty(value = "游戏标题")
    private String gameTitle;

    @ApiModelProperty(value = "游戏图片，多个图片英文逗号分隔")
    private String gameImage;

    @ApiModelProperty(value = "开发商")
    private String gameDev;

    @ApiModelProperty(value = "游戏下载链接")
    private String gameDown;

    @ApiModelProperty(value = "创建人")
    private Integer createUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
